package hello.app.model.data;

public class MyContact {
	private long id = 0L;
	private String number;
	private String name;

	public MyContact(long id, String name, String number){
		this.name = name != null ? name : "";
		this.number = number != null ? number : "";
		this.id = id;
	}

	public MyContact(String name, String number){
		this.name = name != null ? name : "";
		this.number = number != null ? number : "";
	}

	public String getName(){
		return name;
	}

	public void setName(String name){
		this.name = name;
	}

	public String getNumber(){
		return number;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
